package com.ruoyi.parking.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 停车区域管理对象 smart_parking_area
 * 
 * @author ruoyi
 * @date 2025-03-21
 */
public class SmartParkingArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 停车场内区域ID */
    private Integer scAreaId;

    /** 所属停车场 */
    @Excel(name = "所属停车场")
    private Integer scParkingLotId;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String scAreaName;

    /** 车位数量 */
    @Excel(name = "车位数量")
    private Integer scSpaceCount;

    /** 创建时间 */
    private Date scAddTime;

    /** 更新时间 */
    private Date scUpdateTime;

    public void setScAreaId(Integer scAreaId) 
    {
        this.scAreaId = scAreaId;
    }

    public Integer getScAreaId() 
    {
        return scAreaId;
    }

    public void setScParkingLotId(Integer scParkingLotId) 
    {
        this.scParkingLotId = scParkingLotId;
    }

    public Integer getScParkingLotId() 
    {
        return scParkingLotId;
    }

    public void setScAreaName(String scAreaName) 
    {
        this.scAreaName = scAreaName;
    }

    public String getScAreaName() 
    {
        return scAreaName;
    }

    public void setScSpaceCount(Integer scSpaceCount) 
    {
        this.scSpaceCount = scSpaceCount;
    }

    public Integer getScSpaceCount() 
    {
        return scSpaceCount;
    }

    public void setScAddTime(Date scAddTime) 
    {
        this.scAddTime = scAddTime;
    }

    public Date getScAddTime() 
    {
        return scAddTime;
    }

    public void setScUpdateTime(Date scUpdateTime) 
    {
        this.scUpdateTime = scUpdateTime;
    }

    public Date getScUpdateTime() 
    {
        return scUpdateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scAreaId", getScAreaId())
            .append("scParkingLotId", getScParkingLotId())
            .append("scAreaName", getScAreaName())
            .append("scSpaceCount", getScSpaceCount())
            .append("scAddTime", getScAddTime())
            .append("scUpdateTime", getScUpdateTime())
            .toString();
    }
}
